package com.jnu.student.myfirstapplication.data;

import java.io.Serializable;

public class TaskItem implements Serializable{
    private String taskName;
    private int taskScore;

    public TaskItem(String name, int score) {
        this.taskName = name;
        this.taskScore = score;
    }

    public String getTaskName() { return this.taskName;}
    public int getTaskScore() { return this.taskScore;}

    public void Rename(String name) { this.taskName = name;}

    public void Rescore(int score) { this.taskScore = score;}
}
